# coding:utf-8
import unittest

from app import BASE_PATH
from lib.HTMLTestRunner_PY3 import HTMLTestRunner
from script.test01_login import TestLoginAPI
from script.test02_employee import TestEmployeeAPI
# from script.test03_depart import TestDepartAPI

suite=unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestLoginAPI))
suite.addTest(unittest.makeSuite(TestEmployeeAPI))
# suite.addTest(unittest.makeSuite(TestDepartAPI))
path=BASE_PATH+'/report/report.html'
with open(path,'wb')as f:
    runner=HTMLTestRunner(f)
    runner.run(suite)